import {http} from "@/common/base.js" 


// 轮播图
const banner = (data) =>{
 return http({
  url:'article/api/advert/show/1',
  data:data
 })
}
// 列表页
const label = (data) =>{
 return http({
  url:'article/api/category/label/list',
  data:data
 })
}
 
// 热门推荐  列表
const  Courselist= (data) =>{
 return http({
  url:'course/api/course/search',
  data:data,
  method:'Post',
 })
}
 
export{banner,label,Courselist}